Skip to content

Fix: queue.get(block=False) can raise Empty#99

Merged
kezhenxu94 merged 1 commit into
apache:masterfrom
tom-pytel:master
Dec 11, 2020
Merged

Fix: queue.get(block=False) can raise Empty#99
kezhenxu94 merged 1 commit into
apache:masterfrom
tom-pytel:master

Conversation

@tom-pytel

Copy link
Copy Markdown
Contributor

Minor fix for previous PR, calling queue.get(block=False) can raise _queue.Empty which would print out an exception on exit.

@kezhenxu94 kezhenxu94 added the bug Something isn't working label Dec 11, 2020
@kezhenxu94 kezhenxu94 added this to the 0.5.0 milestone Dec 11, 2020
@wu-sheng wu-sheng requested a review from kezhenxu94 December 11, 2020 14:28

@kezhenxu94 kezhenxu94 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kezhenxu94 kezhenxu94 merged commit 3d90e1e into apache:master Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants